<div id='top-nav'>
	<ul class="nav">
		<li><?php print anchor('home.php','Home',array('class'=>'test'),true); ?></li>
		<li><?php print anchor('survey.php','Survey',array(),true); ?></li>
	</ul>
</div>
<div id='loggedin-form' class='right'><?php
$form = new Form('logout_form','post');
$form->text("Welcome, <b>".$_SESSION['user']->full_name.'</b> ');
$form->button('profile','Profile',array('type'=>'button','onclick'=>'javascript:window.location="profile.php"'),false);
$form->button('logout_submit','Logout',array(),false);
print $form->build();
?></div>
